/*
 * @Description:车间生产详情接口
 * @Author: shilinzhou
 * @Date: 2024-01-08 16:28:40
 * @LastEditors: shilinzhou
 * @LastEditTime: 2024-01-23 11:24:39
 */
import QRequest from '@/service/index';
import { ShopProDetailsParams, ShopProDetailsResponse } from './model/type';

/**
 * @: 车间生产详情单日列表
 */
export const doGetShopDetailList = (params: ShopProDetailsParams) => {
    return QRequest.get<ShopProDetailsResponse>(`/workshop/production/detail/single`, {
        params
    });
};

/**
 * @: 车间生产详情多日列表
 */
export const doGetShopDetailsList = (params: ShopProDetailsParams) => {
    return QRequest.get<ShopProDetailsResponse>(`/workshop/production/detail/multi`, {
        params
    });
};
